<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>addEdu</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <link href="../static/css/reset.css" rel="stylesheet">
    <!-- Bootstrap3.3.5 CSS -->
    <link href="../static/css/bootstrap.min.css" rel="stylesheet">
    <link href="../static/css/queryResult.css" rel="stylesheet">
    <link href="../static/css/addEdu1.css" rel="stylesheet">
    <style type="text/css">
        .input_text {
            width: 100%;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="queryResule">
        <h2>审核进度</h2>
        <div class="back" style="background-color: aliceblue;padding: 10px">
            <a href="/index">返回首页</a>
        </div>
        <form action="/addEdu" method="post" name="addForm" style="margin-top: 20px">
            <div class="top">
                <div class="left">
                    <p>
                        <span>歌曲名称：</span>
                        <span>
                        <input type="text" id="id-name" name="Name" class="input_text" disabled>
                      </span>
                    </p>

                    <p>
                        <span>作曲人：</span>
                        <span>
                           <input type="text" id="id-user" name="User" class="input_text" disabled>
                      </span>
                    </p>
                    <p>
                        <span>举报链接：</span>
                        <span>
                          <input type="text" id="id-url" name="Url" class="input_text" disabled>
                      </span>
                    </p>
                </div>


            </div>

        </form>
    </div>

</div>
</body>
<script type="text/javascript" src="../static/js/jquery.min.js"></script>
<script type="text/javascript" src="../static/js/bootstrap.min.js"></script>
<script type="text/javascript">
    // var user1=localStorage.getItem("loginUserNow");
    // var id = user1.split("-")[1];

    $(function () {
        var jubaoId=localStorage.getItem("reportItem").split("-")[1];
        var param = "getUser-"+jubaoId;
        $.get("/queryCc", {param: param}, function (result) {
            var data = JSON.parse(result).data;
            console.log(JSON.parse(data));
            var r =JSON.parse(data);
            $("#id-name").val(r.Name);
            $("#id-user").val(r.User);
            $("#id-url").val(r.Url);

        });
    })
</script>

</html>
